<?php

namespace addons\hlapp\model;

use think\Model;

class HlappArea extends CommonModel
{
    //区域工程负责人
    public function engineer()
    {
        return $this->hasOne('HlappMember', 'id', 'engineer_id');
    }

   // 区域总负责人
    public function manager()
    {
        return $this->hasOne('HlappMember', 'id', 'manager_id');
    }
}